package com.cskaoyan.demo6.mapper;

import com.cskaoyan.demo6.bean.model.MarketAd;
import com.cskaoyan.demo6.bean.model.MarketAdExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

/**
*@Description：
*@Author：BLUEBLANK
*@Date：2024/4/20  21:13
*/


    
public interface MarketAdMapper {
    long countByExample(MarketAdExample example);

    int deleteByExample(MarketAdExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(MarketAd record);

    int insertOrUpdate(MarketAd record);

    int insertOrUpdateSelective(MarketAd record);

    int insertSelective(MarketAd record);

    List<MarketAd> selectByExample(MarketAdExample example);

    MarketAd selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") MarketAd record, @Param("example") MarketAdExample example);

    int updateByExample(@Param("record") MarketAd record, @Param("example") MarketAdExample example);

    int updateByPrimaryKeySelective(MarketAd record);

    int updateByPrimaryKey(MarketAd record);

    int updateBatch(List<MarketAd> list);

    int updateBatchSelective(List<MarketAd> list);

    int batchInsert(@Param("list") List<MarketAd> list);
}